﻿using Microsoft.AspNetCore.Http;
using System;

namespace EcoSystem
{
    public class UploadFileResourceInputDto
    {
        /// <summary>
        /// 上传文件
        /// </summary>
        public IFormFile File { get; set; }

        /// <summary>
        /// 文件存储块
        /// </summary>
        public string BucketName { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// 上传文件所属目录
        /// </summary>
        public string Dir { get; set; }

        /// <summary>
        /// 上传文件所属目录
        /// </summary>
        public Nullable<Guid> DirId { get; set; }

        /// <summary>
        /// 是否公开
        /// </summary>
        public Nullable<bool> IsPublic { get; set; }
    }
}
